package com.wing.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wing.product.dao.ProductMarkDao;
import com.wing.product.model.entity.ProductMark;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ProductMarkServiceImpl extends ServiceImpl<ProductMarkDao, ProductMark> implements ProductMarkService{

    @Override
    public IPage<ProductMark> pageList4app(Page<ProductMark> pg, Map paramMap) {
        List<ProductMark> list = baseMapper.list4app(pg, paramMap);
        pg.setRecords(list);
        return pg;
    }
}
